import math
str = '           hello    '
print(str.strip())
print(str.capitalize())
print(str.center(0))
str1 = 'aaAAbbkfjskdfjksfjsdklfsdkfjksd'
print(str1.count('f', 0, 15))
print(str1.encode('UTF-8', errors='strict'))
print(str1.upper())
print(str1.zfill(40))
print(str1.swapcase())
print(str1.title())
print(str1.istitle())
print(str1.title().istitle())
print(str1)
print(str1.startswith('AA', 2, len(str1)))
print(str1.format())
